package weiy.top.modules.category.service;

import weiy.top.modules.category.entity.PmsCategoryBrandRelation;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * @Description: pms_category_brand_relation
 * @Author: weihancheng
 * @Date:   2021-11-24
 * @Version: V1.0
 */
public interface IPmsCategoryBrandRelationService extends IService<PmsCategoryBrandRelation> {

    void saveMain(PmsCategoryBrandRelation pmsCategoryBrandRelation);

    void updateAllBrand(String brandId, String name);

    void updateAllCategory(String cateId, String name);

    void saveBatchMain(List<PmsCategoryBrandRelation> categoryBrandRelationList);
}
